package com.ruoyi.ruoyictmanage.domain.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.ruoyictmanage.converter.LineConverter;

public class MPN {
    @ExcelProperty("编号")
    private long MPN_id;
    @ExcelProperty("MPN")
    private String MPN_name;
    @ExcelProperty("内部名称")
    private String internal_name;
    @ExcelProperty("工程名称")
    private String project_name;
    @ExcelProperty("工艺名称")
    private String process_name;
    @ExcelProperty("禁用时间")
    private String deprecated_date;
    @ExcelProperty("添加时间")
    private String insert_date;
    @ExcelProperty(value = "产线",converter = LineConverter.class)
    private Line line;
    @ExcelProperty("基准CT")
    private String benchmark_value;
    @ExcelProperty("process")
    private String process;
    @ExcelProperty("IE")
    private String IE;
    @ExcelProperty("组合名称")
    private String ic_name;
    @ExcelProperty("长度宽幅")
    private String DFF;
    @ExcelProperty("psc/sheet")
    private double psc_sheet;
    @ExcelProperty("设备配置")
    private String device_config;
    @ExcelProperty("状态")
    private Integer state;
    @ExcelProperty("部门名称")
    private String dept_name;
    @ExcelProperty("课别名称")
    private String class_name;
    @ExcelProperty("楼层")
    private String floor;
    @ExcelProperty("BU")
    private String bu;

    public MPN(long MPN_id, String MPN_name, String internal_name, String project_name, String process_name, String deprecated_date, String insert_date, Line line, String benchmark_value, String process, String IE, String ic_name, String DFF, double psc_sheet, String device_config, Integer state, String dept_name, String class_name, String floor, String bu) {
        this.MPN_id = MPN_id;
        this.MPN_name = MPN_name;
        this.internal_name = internal_name;
        this.project_name = project_name;
        this.process_name = process_name;
        this.deprecated_date = deprecated_date;
        this.insert_date = insert_date;
        this.line = line;
        this.benchmark_value = benchmark_value;
        this.process = process;
        this.IE = IE;
        this.ic_name = ic_name;
        this.DFF = DFF;
        this.psc_sheet = psc_sheet;
        this.device_config = device_config;
        this.state = state;
        this.dept_name = dept_name;
        this.class_name = class_name;
        this.floor = floor;
        this.bu = bu;
    }

    public MPN() {
    }

    public long getMPN_id() {
        return MPN_id;
    }

    public void setMPN_id(long MPN_id) {
        this.MPN_id = MPN_id;
    }

    public String getMPN_name() {
        return MPN_name;
    }

    public void setMPN_name(String MPN_name) {
        this.MPN_name = MPN_name;
    }

    public String getInternal_name() {
        return internal_name;
    }

    public void setInternal_name(String internal_name) {
        this.internal_name = internal_name;
    }

    public String getProject_name() {
        return project_name;
    }

    public void setProject_name(String project_name) {
        this.project_name = project_name;
    }

    public String getProcess_name() {
        return process_name;
    }

    public void setProcess_name(String process_name) {
        this.process_name = process_name;
    }

    public Line getLine() {
        return line;
    }

    public int getLineId(){
        return line.getLine_id();
    }

    public void setLine(Line line) {
        this.line = line;
    }

    public String getBenchmark_value() {
        return benchmark_value;
    }

    public void setBenchmark_value(String benchmark_value) {
        this.benchmark_value = benchmark_value;
    }

    public String getProcess() {
        return process;
    }

    public void setProcess(String process) {
        this.process = process;
    }

    public String getIE() {
        return IE;
    }

    public void setIE(String IE) {
        this.IE = IE;
    }

    public String getIc_name() {
        return ic_name;
    }

    public void setIc_name(String ic_name) {
        this.ic_name = ic_name;
    }

    public String getDFF() {
        return DFF;
    }

    public void setDFF(String DFF) {
        this.DFF = DFF;
    }

    public double getPsc_sheet() {
        return psc_sheet;
    }

    public void setPsc_sheet(double psc_sheet) {
        this.psc_sheet = psc_sheet;
    }

    public String getDevice_config() {
        return device_config;
    }

    public void setDevice_config(String device_config) {
        this.device_config = device_config;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getDept_name() {
        return dept_name;
    }

    public void setDept_name(String dept_name) {
        this.dept_name = dept_name;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getBu() {
        return bu;
    }

    public void setBu(String bu) {
        this.bu = bu;
    }

    public String getDeprecated_date() {
        return deprecated_date;
    }

    public void setDeprecated_date(String deprecated_date) {
        this.deprecated_date = deprecated_date;
    }

    public String getInsert_date() {
        return insert_date;
    }

    public void setInsert_date(String insert_date) {
        this.insert_date = insert_date;
    }

    @Override
    public String toString() {
        return "MPN{" +
                "MPN_id=" + MPN_id +
                ", MPN_name='" + MPN_name + '\'' +
                ", internal_name='" + internal_name + '\'' +
                ", project_name='" + project_name + '\'' +
                ", process_name='" + process_name + '\'' +
                ", deprecated_date='" + deprecated_date + '\'' +
                ", insert_date='" + insert_date + '\'' +
                ", line=" + line +
                ", benchmark_value='" + benchmark_value + '\'' +
                ", process='" + process + '\'' +
                ", IE='" + IE + '\'' +
                ", ic_name='" + ic_name + '\'' +
                ", DFF='" + DFF + '\'' +
                ", psc_sheet=" + psc_sheet +
                ", device_config='" + device_config + '\'' +
                ", state=" + state +
                ", dept_name='" + dept_name + '\'' +
                ", class_name='" + class_name + '\'' +
                ", floor='" + floor + '\'' +
                ", BU='" + bu + '\'' +
                '}';
    }
}
